<div class="search_owner" style="height:70px;">
	<form action="" method="get" name="searchForm" id="searchForm">
	<table>
		<tr>
			<td height="30px">
			日期：<input type="text" id="txt_s_time" class="input_small" value="{$s_time}" name="txt_s_time" readonly="readonly" onClick="WdatePicker()" />到
			<input type="text" id="txt_e_time" class="input_small" value="{$e_time}" name="txt_e_time"  readonly="readonly" onClick="WdatePicker()" />
			供应商：
				<select style="width:200px;" class="input_small" name="sel_supplier" id="sel_supplier">
					<option value="-1">全部供应商</option>
					{foreach from=$sInfo item=v}
					<option {if $s_id} eq $v.s_id}selected="selected"{/if} value="{$v.s_id}">{$v.s_name}</option>
					{/foreach}
				</select>
			</td>
		</tr>
		<tr>
			<td height="30px">
				卡号：<input type="text" class="input_small" onkeydown="searchAccountDetail(event)" value="{$owner_card}" name="txt_card_value" id="txt_card_value" />
				业主姓名：<input type="text" class="input_small" onkeydown="searchAccountDetail(event)" value="{$owner_name}" name="txt_name_value" id="txt_name_value" />
				交易类型：<select name="sel_cost_type" id=""sel_cost_type"">
							<option value="-1">全部类型</option>
							<option {if $cost_type eq 1}selected="selected"{/if} value="1">增加积分</option>
							<option {if $cost_type eq 2}selected="selected"{/if} value="2">扣减积分</option>
							<option {if $cost_type eq 3}selected="selected"{/if} value="3">撤销交易</option>
						</select>
				<a href="###" onclick="searchAccountDetail()" class="g_a">
			     	<span class="g_b">
			        	<span class="g_c">&nbsp;</span>
				    	<span class="g_d">查找</span>
				    </span>
				</a>
			</td>
		</tr>
	</table>
	</form>
</div>
<table class="tlist" style="width:100%; margin-top:20px;">
	<tr>
		<th>交易流水号</th>
		<th>交易时间</th>
		<th>交易类别</th>
		<th>卡号</th>
		<th>业主姓名</th>
		<th>交易前剩余积分</th>
		<th>发生交易额</th>
		<th>交易后剩余积分</th>
		<th>供应商名称</th>
	</tr>
	{foreach from=$list item=v}
	<tr>
		<td style="width:60px;">{$v.pay_id}{if $v.cost_type eq 3}<p class="font12">原单流水号</p>{$v.cancel_pay_id}{/if}</td>
		<td style="width:60px;">{$v.cost_time}</td>
		<td>{if $v.cost_type eq 1}增加积分{elseif $v.cost_type eq 2}扣减积分{else}撤销交易{/if}</td>
		<td>{$v.owner_card}</td>
		<td>{$v.owner_name}</td>
		<td class="color_green font_w_b">{$v.cost_shop_before_money}</td>
		<td class="color_ry font_w_b">{$v.cost_money_t}</td>
		<td class="color_green font_w_b">{$v.cost_shop_after_money}</td>
		<td>
			{$v.s_name}
		</td>
	</tr>
	{/foreach}
	{if $pageStr neq ""}
	<tr><td colspan="9">{$pageStr}</td></tr>
	{/if}
</table>
